/**
 * 
 */
package com.ydy.ienum;

import com.ydy.ienum.base.IErrorEnum;

/**
 * @author xuzhaojie
 *
 *         2018年11月12日 上午9:41:48
 */
public enum EnumPay implements IErrorEnum {
	SALT_NOT_FIT(1400, "加密盐不匹配"),
	ADDRESS_NOT_FIT(1401, "比特币收款地址不匹配"),
	PAYMENT_NOT_FIT(1402, "订单支付方式不匹配"),
	PRICE_NOT_FULL(1403, "订单金额支付不足"),
	REMOTE_ERROR(1404, "远程网络出现错误"),
	STATUS_NOT_COMPLETE(1405, "订单状态未完成"),
	UNIT_EMPTY(1406, "订单item为空");

	private Integer code;
	private String msg;

	private EnumPay(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	@Override
	public int getCode() {
		return code;
	}

	@Override
	public String getMsg() {
		return msg;
	}

}
